package com.quanyan.comment.reqeust;

import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * Created by Administrator on 2016/6/24.
 */
public class ReqBaseParam implements Serializable{

    private static final long serialVersionUID = -6403475914973615625L;
    /**  来源系统编码 不能为空 **/
    @NotBlank(message = "systemCode系统编码不能为空")
    private String systemCode;

    /** 来源业务编码 不能为空 **/
    @NotBlank(message = "businessCode业务编码不能为空")
    private String businessCode;

    /** 业务id 不能为空 **/
    private Integer businessId;

    private Integer commonParam;


    public Integer getCommonParam() {
        return commonParam;
    }

    public void setCommonParam(Integer commonParam) {
        this.commonParam = commonParam;
    }

    public String getSystemCode() {
        return systemCode;
    }

    public void setSystemCode(String systemCode) {
        this.systemCode = systemCode;
    }

    public String getBusinessCode() {
        return businessCode;
    }

    public void setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
    }

    public Integer getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Integer businessId) {
        this.businessId = businessId;
    }

    @Override
    public String toString() {
        return "ReqBaseParam{" +
                "systemCode='" + systemCode + '\'' +
                ", businessCode='" + businessCode + '\'' +
                ", businessId=" + businessId +
                '}';
    }
}
